import Vue from 'vue'
import Vuex from 'vuex'

import app from './modules/app'
import trans from './modules/trans'
import connection from './modules/connection'
import directory from './modules/directory'

import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		app,
		trans,
    connection,
    directory
	},
	getters
})

export default store
